#include "metal/sys.h"
#include "metal/utilities.h"
#include "metal/device.h"

struct metal_state _metal;

int metal_sys_init(const struct metal_init_params *params)
{
    metal_unused(params);
    metal_bus_register(&metal_generic_bus);
    return 0;
}

void metal_sys_finish(void)
{
    metal_bus_unregister(&metal_generic_bus);
}

